package com.atguigu.gmall.feign.pay;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lsj
 * @create 2021-08-31 15:08
 */
@RequestMapping("/api/payment")
@FeignClient("service-pay")
public interface PayFeignClient {
    @GetMapping("/status/{outTradeNo}")
    String queryOrderPayStatus(@PathVariable("outTradeNo") String outTradeNo);
}
